package cn.two.model;

import java.util.Date;

/**
 * OaCheck entity. @author MyEclipse Persistence Tools
 */

public class OaCheck implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer checkId;	//考勤申请
	private OaDept oaDept;
	private OaUser oaUser;
	private OaSubmit oaSubmit;
	private OaChecktypes oaChecktypes;//请假类别
	private Date checkTime; //申请时间
	private Date checkBegin;//请假时间
	private Date checkEnd;//请假时间
	private String checkDate;//请假天数
	private String checkTitle;//请假主题
	private String checkContext;

	// Constructors

	/** default constructor */
	public OaCheck() {
	}

	/** full constructor */
	public OaCheck(OaDept oaDept, OaUser oaUser, OaSubmit oaSubmit,
			OaChecktypes oaChecktypes, Date checkTime, Date checkBegin,
			Date checkEnd, String checkDate, String checkTitle,
			String checkContext) {
		this.oaDept = oaDept;
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.oaChecktypes = oaChecktypes;
		this.checkTime = checkTime;
		this.checkBegin = checkBegin;
		this.checkEnd = checkEnd;
		this.checkDate = checkDate;
		this.checkTitle = checkTitle;
		this.checkContext = checkContext;
	}

	// Property accessors

	public Integer getCheckId() {
		return this.checkId;
	}

	public void setCheckId(Integer checkId) {
		this.checkId = checkId;
	}

	public OaDept getOaDept() {
		return this.oaDept;
	}

	public void setOaDept(OaDept oaDept) {
		this.oaDept = oaDept;
	}

	public OaUser getOaUser() {
		return this.oaUser;
	}

	public void setOaUser(OaUser oaUser) {
		this.oaUser = oaUser;
	}

	public OaSubmit getOaSubmit() {
		return this.oaSubmit;
	}

	public void setOaSubmit(OaSubmit oaSubmit) {
		this.oaSubmit = oaSubmit;
	}

	public OaChecktypes getOaChecktypes() {
		return this.oaChecktypes;
	}

	public void setOaChecktypes(OaChecktypes oaChecktypes) {
		this.oaChecktypes = oaChecktypes;
	}

	public Date getCheckTime() {
		return this.checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public Date getCheckBegin() {
		return this.checkBegin;
	}

	public void setCheckBegin(Date checkBegin) {
		this.checkBegin = checkBegin;
	}

	public Date getCheckEnd() {
		return this.checkEnd;
	}

	public void setCheckEnd(Date checkEnd) {
		this.checkEnd = checkEnd;
	}

	public String getCheckDate() {
		return this.checkDate;
	}

	public void setCheckDate(String checkDate) {
		this.checkDate = checkDate;
	}

	public String getCheckTitle() {
		return this.checkTitle;
	}

	public void setCheckTitle(String checkTitle) {
		this.checkTitle = checkTitle;
	}

	public String getCheckContext() {
		return this.checkContext;
	}

	public void setCheckContext(String checkContext) {
		this.checkContext = checkContext;
	}

}